package com.aaa.qy127.entity;

import java.util.Date;

public class User {
    private Integer userid;
    private String phone;
    private String password;
    private String name;
    private String cardID;
    private String address;
    private Integer status;
    private Integer id;
    private Date date;
    private String cause;
    private Integer page;//当前页数
    private Integer limit;//每一页显示的条数

    public User() {
    }

    public User(Integer userid, String phone, String password, String name, String cardID, String address, Integer status, Integer id, Date date, String cause, Integer page, Integer limit) {
        this.userid = userid;
        this.phone = phone;
        this.password = password;
        this.name = name;
        this.cardID = cardID;
        this.address = address;
        this.status = status;
        this.id = id;
        this.date = date;
        this.cause = cause;
        this.page = page;
        this.limit = limit;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardID() {
        return cardID;
    }

    public void setCardID(String cardID) {
        this.cardID = cardID;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", cardID='" + cardID + '\'' +
                ", address='" + address + '\'' +
                ", status=" + status +
                ", id=" + id +
                ", date=" + date +
                ", cause='" + cause + '\'' +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
